

package com.hazelcast.test;

import org.junit.rules.TestWatcher;
import org.junit.runner.Description;

import static com.hazelcast.instance.impl.MobyNames.MOBY_NAMING_PREFIX;

public class MobyNamingRule extends TestWatcher {
    @Override
    protected void starting(Description description) {
        String className = description.getTestClass().getSimpleName();
        System.setProperty(MOBY_NAMING_PREFIX, className);
    }
}
